package collisions.collisiongroups;

import sprites.spritegroups.CollisionSpriteGroup;
import sprites.spritegroups.PhysicsSpriteGroup;
import collisions.collisiongroups.AdvancedCollisionGroup;
import collisions.util.WrongTypeException;

public abstract class PhysicsCollisionGroup extends AdvancedCollisionGroup
{
	public PhysicsCollisionGroup(PhysicsSpriteGroup spriteGroup)
	{
		super(spriteGroup);
		if(!(spriteGroup instanceof CollisionSpriteGroup))
		{
			throw new WrongTypeException("Sprite group must be both a PhysicsSpriteGroup and a CollisionSpriteGroup");
		}
	}

	
}
